/*
  Copyright © 2014 Allen County Public Library.

  ACPL Mobile is free software: This program is distributed and you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.  ACPL Mobile is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, including without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ACPL Mobile. If not, see http://www.gnu.org/licenses/.
 * Author: James Harpe
 * 
 * Description: This class provides a simple object representation of a search result title, which contains
 * 				standard title information plus additional required fields, including availability information. 
 */

package us.in.lib.acpl.Mobile_ACPL.item;

public class SearchResultTitle extends Title {

	private String totalCopiesAvailable;
	private String[] librariesWithAvailableCopies;
	private String locationOfFirstAvailableItem;
	private boolean holdable;
	private String url;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTotalCopiesAvailable() {
		return totalCopiesAvailable;
	}

	public void setTotalCopiesAvailable(String totalCopiesAvailable) {
		this.totalCopiesAvailable = totalCopiesAvailable;
	}

	public String[] getLibrariesWithAvailableCopies() {
		return librariesWithAvailableCopies;
	}

	public void setLibrariesWithAvailableCopies(
			String[] librariesWithAvailableCopies) {
		this.librariesWithAvailableCopies = librariesWithAvailableCopies;
	}

	public String getLocationOfFirstAvailableItem() {
		return locationOfFirstAvailableItem;
	}

	public void setLocationOfFirstAvailableItem(
			String locationOfFirstAvailableItem) {
		this.locationOfFirstAvailableItem = locationOfFirstAvailableItem;
	}

	public boolean isHoldable() {
		return holdable;
	}

	public void setHoldable(boolean holdable) {
		this.holdable = holdable;
	}

}
